package com.example.demo.disruptor;

/**
 * @Author: liull
 * @Description:o get started with the Disruptor we are going to consider very simple and contrived example, one that will pass a single long value
 *                from a producer to a consumer, where the consumer will simply print out the value. Firstly we will define the Event that will carry
 *                the data.
 * @Date: Created in 17:18 2021/3/31
 * @Modified By:
 */
public class LongEvent {
    private long value;

    public void setValue(long value) {
        this.value = value;
    }

    public long getValue() {
        return value;
    }
}
